package sunwul.mall.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import sunwul.mall.auth.domain.LoginSysUser;

import java.util.Set;

/**
 * @author sunwul
 * @date 2024/12/26 16:23
 * @description
 */
@Mapper
public interface LoginSysUserMapper extends BaseMapper<LoginSysUser> {

    /**
     * 根据用户标识查询用户的权限集合
     * @param userId
     * @return
     */
    Set<String> selectPermsByUserId(Long userId);
}
